page {
    background: #fff;
}

.header-bg {
    width: 100%;
    height: 344rpx;
    background: linear-gradient(90deg, rgba(121, 121, 121, 1) 0%, rgba(68, 68, 68, 1) 100%);
    padding: 62rpx 30rpx 0 30rpx;
    box-sizing: border-box;

    .personal-info {
        width: 100%;
        height: 370rpx;
        background: url(https://ruiyuanhui.3todo.com/uploads/img/my_header_bg.png) no-repeat;
        background-size: 100% 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;

        .avatar-icon {
            width: 112rpx;
            height: 112rpx;
            border-radius: 50%;
            margin-top: -50rpx;
        }

        .avatar {
            position: relative;

            .edit-info {
                width: 42rpx;
                height: 42rpx;
                position: absolute;
                bottom: 8rpx;
                right: 0rpx;
            }

            .avatar-icon {
                width: 112rpx;
                height: 112rpx;
                border-radius: 50%;
                margin-top: -50rpx;
            }
        }

        .user-name {
            font-size: 36rpx;
            color: #333333;
            height: 80rpx;
            display: flex;
            align-items: center;
        }

        .member-info {
            display: flex;
            width: 100%;

            .members {
                flex: 1;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                position: relative;

                &:nth-of-type(1) {
                    &::before {
                        right: 0;
                        position: absolute;
                        width: 2rpx;
                        height: 70rpx;
                        background: rgba(0, 0, 0, 0.1);
                        content: '';
                    }
                }

                &:nth-of-type(3) {
                    &::before {
                        left: 0;
                        position: absolute;
                        width: 2rpx;
                        height: 70rpx;
                        background: rgba(0, 0, 0, 0.1);
                        content: '';
                    }
                }

                view {
                    &:nth-of-type(1) {
                        text-align: center;
                        font-size: 32rpx;
                        color: #333333;
                        height: 55rpx;
                        display: flex;
                        align-items: center;
                    }

                    &:nth-of-type(2) {
                        text-align: center;
                        height: 55rpx;
                        display: flex;
                        align-items: center;
                        font-size: 26rpx;
                        color: #666666;
                    }
                }
            }
        }

        .member-card {
            height: 100rpx;
            position: absolute;
            bottom: 0;
            padding: 0 24rpx;
            display: flex;
            box-sizing: border-box;
            align-items: center;
            width: 100%;
            justify-content: space-between;

            .lt {
                display: flex;
                align-items: center;

                .vip-icon {
                    width: 50rpx;
                    height: 44rpx;
                }

                .card-num {
                    font-size: 28rpx;
                    color: #ffffff;
                }
            }

            .lookprivilege {
                font-size: 28rpx;
                color: #ffd082;
            }
        }
    }
}

.balance-collect {
    margin-top: 114rpx;
    width: 100%;
    height: 200rpx;
    background: linear-gradient(90deg, rgba(244, 214, 163, 1) 0%, rgba(255, 244, 214, 1) 100%);
    border-radius: 8rpx;
    display: flex;
    align-items: center;

    .balance {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1;

        .balance-top {
            display: flex;
            align-items: center;

            image {
                width: 40rpx;
        height: 30rpx;
                margin-right: 16rpx;
            }

            view {
                display: flex;
                align-items: center;
                font-size: 30rpx;
                color: #333333;

                &:nth-of-type(2) {
                    color: #DBDBDB;
                    margin-left: 10rpx;
                }
            }


        }

        .money {
            font-size: 36rpx;
            font-weight: bold;
            color: #333333;
            margin-top: 23rpx;
        }

    }

    .collect {
        align-items: center;
        flex: 1;
        display: flex;
        flex-direction: column;
        position: relative;

        &::before {
            content: "";
            left: 0;
            position: absolute;
            width: 2rpx;
            height: 110rpx;
            background: rgba(0, 0, 0, 0.1);
        }

        .collect-top {
            display: flex;
            align-items: center;

            image {
                width: 36rpx;
                height: 34rpx;
                margin-right: 16rpx;
            }

            view {
                display: flex;
                align-items: center;
                font-size: 30rpx;
                color: #333;

                &:nth-of-type(2) {
                    color: #DBDBDB;
                    margin-left: 10rpx;
                }
            }
        }

        .collected {
            font-size: 36rpx;
            font-weight: bold;
            color: #333333;
            margin-top: 23rpx;
        }
    }
}

.card-member {
    height: 80rpx;
    width: 100%;
    background: url(https://ruiyuanhui.3todo.com/uploads/img/card_member_bg.png) no-repeat;
    background-size: 100% 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    image {
        width: 40rpx;
        height: 30rpx;
        margin-right: 16rpx;
        display: block;
    }

    .my-card-text {
        font-size: 28rpx;
        color: rgba(51, 51, 51, 1);
    }
}

.nav {
    margin-top: 24rpx;
    position: relative;

    .nav-list {
        width: 100%;
        height: 224rpx;
        background: #ffffff;
        border-radius: 8rpx;
        display: flex;
        justify-content: space-around;

        .nav-item {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            flex: 1;

            .nav-icon {
                width: 88rpx;
                height: 88rpx;
            }

            .nav-text {
                font-size: 28rpx;
                color: #666666;
                margin-top: 10rpx;
            }
        }
    }

}


.recommend-good {
    padding: 0rpx 30rpx 10rpx 30rpx;
    box-sizing: border-box;

    .title {
        height: 90rpx;
        display: flex;
        align-items: center;
        // justify-content: center;

        view {
            // &:nth-of-type(1) {
            //     width: 36rpx;
            //     height: 2rpx;
            //     background: #bebebe;
            //     margin-right: 26rpx;
            // }

            &:nth-of-type(1) {
                font-size: 30rpx;
                font-weight: bold;
                color: #333333;
                margin-right: 24rpx;
                line-height: 30rpx;
            }

            // &:last-child {
            //     width: 36rpx;
            //     height: 2rpx;
            //     background: #bebebe;
            // }
        }

        image {
            margin-right: 10rpx;
            width: 34rpx;
            height: 32rpx;
        }
    }

    .recommend-goods {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

        .goods-item {
            width: 336rpx;
            // height: 530rpx;
            margin-bottom: 20rpx;

            image {
                border: 2rpx solid #dbdbdb;
                border-radius: 12rpx 12rpx 0px 0px;

                display: flex;
                width: 99%;
                height: 320rpx;
                border-radius: 12rpx 12rpx 0px 0px;
            }

            .goods-info {
                width: 100%;
                height: 241rpx;
                background: #ffffff;
                border-radius: 0px 0px 12rpx 12rpx;
                padding: 20rpx 22rpx;
                box-sizing: border-box;
                border: 2rpx solid rgba(219, 219, 219, 1);

                .goods-title {
                    font-size: 30rpx;
                    color: #666666;
                    text-overflow: -o-ellipsis-lastline;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                    -webkit-line-clamp: 2;
                    height: 80rpx;

                }

                .integral {
                    // height: 90rpx;
                    margin-top: 10rpx;

                    .num {
                        font-size: 30rpx;
                        color: #fb3319;
                        flex: 1;
                        text-overflow: -o-ellipsis-lastline;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        display: -webkit-box;
                        -webkit-line-clamp: 1;
                        word-break: break-all;
                    }

                    .exchange {
                        width: 136rpx;
                        height: 44rpx;
                        background: linear-gradient(224deg, rgba(102, 102, 102, 1) 0%, rgba(68, 68, 68, 1) 100%);
                        border-radius: 0px 20rpx 0px 20rpx;
                        font-size: 28rpx;
                        color: #FFC875;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        margin-left: auto;
                        margin-top: 20rpx;
                    }
                }
            }
        }

    }
}

.banner {
    margin-top: 24rpx;
    width: 100%;
    height: 200rpx;
    border-radius: 8rpx;
    object-fit: cover;
}

.pop-window {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;

    .pop {
        width: 520rpx;
        height: 600rpx;
        background: #fff;
        border-radius: 8rpx;
        padding: 50rpx;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        flex-direction: column;

        .unlogin {
            font-size: 32rpx;
            color: #333;
        }

        .pleaselogin {
            margin-top: 10rpx;
            font-size: 30rpx;
            color: #999;
        }

        .icon {
            margin-top: 48rpx;
            width: 354rpx;
            height: 212rpx;
        }

        .choose {
            display: flex;
            justify-content: space-between;
            width: 100%;
            margin-top: 56rpx;

            .zanbu {
                width: 190rpx;
                height: 60rpx;
                border-radius: 31rpx;
                border: 2rpx solid #dda661;
                font-size: 30rpx;
                color: #DDA661;
                display: flex;
                justify-content: center;
                align-items: center;
            }

            .liji {
                width: 192rpx;
                height: 62rpx;
                background: #E2B884;
                border-radius: 31rpx;
                font-size: 30rpx;
                color: #fff;
                display: flex;
                justify-content: center;
                align-items: center;
            }

        }
    }
}

.jinyong {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    color: #fff;
    z-index: 99;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 50rpx;
    box-sizing: border-box;
    flex-direction: column;
}

.no-have-exchange {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 32rpx;
    color: rgba(102, 102, 102, 1);
    margin: 100rpx 0;

    .no-have-data {
        width: 320rpx;
        height: 200rpx;
        margin-bottom: 100rpx;
    }
}